using System;
using System.Collections.Generic;
using System.Text;

namespace PersistenceObject.Framework.Expressions
{
    public class RelationTable : Table
    {
        public RelationTable(string name)
            : base(name)
        {
        }

        public static RelationTable operator &(RelationTable leftTable, RelationTable rightTable)
        {
            RelationTable relationTable = new RelationTable(leftTable.Name);
            relationTable.Relating = leftTable.Relating + rightTable.Relating;
            return relationTable;
        }
    }
}